#!/bin/sh
#
# Executes the cmake unit tests from the build directory
#

# Check that build directory exists
if [ ! -d ./build ]
then
    echo "Unable to find build directory, please compile first."
    exit -1
fi

# Run make test in build directory
cd build
make test
cd ..
